home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / Warrior’s Progress / source code / Source / Libraries / Announcer / PostponedEarBase.h < prev    next >
Encoding:
Text File  |  1997-06-28  |  504 b   |  30 lines  |  [TEXT/CWIE]

  1. // PostponedEarBase.h
  2.  
  3. #ifndef PostponedEarBase_h
  4. #define PostponedEarBase_h
  5.  
  6. #ifndef EarBase_h
  7. #include "EarBase.h"
  8. #endif
  9. #ifndef Postponer_h
  10. #include "Postponer.h"
  11. #endif
  12.  
  13. class PostponedEarBase: public EarBase
  14.   {
  15.     private:
  16.         Postponer scheduler;
  17.     
  18.     public:
  19.         PostponedEarBase( const Method& );
  20.         PostponedEarBase( const Method&, const Announcer& );
  21.         ~PostponedEarBase();
  22.         
  23.         virtual void HearAnnouncement();
  24.         virtual void HearDestruction();
  25.         
  26.         void Flush()        { scheduler.Flush(); }
  27.   };
  28.  
  29. #endif
  30.